package com.kgc.info;

public class Commodity {
    private int serial;
    private String name;

    public int getSerial(){
        return this.serial;
    }
    public void setSerial(int serial){
        this.serial=serial;
    }
    public String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name=name;
    }
    public void show(){
        System.out.println("姓名"+this.name+"编号"+this.serial);
    }
}
